weight,height = eval(input("请输入体重和升高，用，隔开："))
BMI=weight/pow(height,2)
if BMI<=18.5:
    print("体重过轻")
elif 18.5<BMI<25:
    print("体重正常")
elif 25<= BMI <= 28:
    print("体重过重")
elif 28<BMI<=32:
    print("体重肥胖")
elif BMI>32:
    print("严重肥胖")
else:
    print("输入数据有误")